package it.cnr.icib.XSBProlog.examples;

public class Example05_JavaClass {
	
	static int i =0;
	static int max =3;
	static String s[]={"val1","val2","val3"};
	
	public Example05_JavaClass(){}
	
	
	public  static String test01(){
		String tmp;
		if (i<max){
			tmp=s[i];
			i++;
		}else{
			tmp=s[0];
			i=1;
		}
		return tmp;
		
	}
	
	

}
